<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>index</title>
    <script src="js/jquery-3.4.1.js"></script>
    <script src="js/bdz.js"></script>
    <link rel="stylesheet" href="js/bdz.css">
</head>
<body>
<div id="left">
    <div class="Heads">
        组织结构
    </div>
    <div id="leftFoot">
        <ul id="leftUL" style="list-style-type:none">
            <li><img src="img/img3.png"><span style="font-weight: bolder;font-size: 18px;cursor: pointer;" onclick="showDW()">国家电网</span><img class="imgAdd" onclick="gotoAddPro()" src="img/img.png">
                <ul id="company" style="list-style-type:none">
                </ul>
            </li>
        </ul>
    </div>
</div>
<div id="right">
    <div class="Heads">
        <span>网省信息</span>
    </div>
    <div id="rightHeadCont">
        <span style="margin-right: 7px">网省名称：</span><input id="input1" type="text" value="国家电网" readonly><br>
        <span>*上级单位：</span><input id="input2" type="text" value="" readonly><br>
        <span style="margin-right: 7px">单位描述：</span><input id="input3" type="text" value="北京西单" readonly><br>
        <span style="margin-right: 22px">用电量：</span><input  id="input4" type="text" value="234245" readonly><br>
        <br>
    </div>
    <div class="Heads" style="padding-bottom: 3px">
        <span>设备管理</span>
    </div>
    <div>
        <div id="if1">
            <div style="padding: 3px">
                <input class="buttonOne" type="submit" value="新建" onclick="addSub()">
                <input class="buttonOne" type="submit" value="编辑" onclick="updateSub()">
                <input class="buttonOne" type="submit" value="删除" onclick="delSub()">
            </div>
            <div class="huiC">
                <span style="font-size: 20px">变电站名称：</span>
                <input id="subNameBTN" type="text">
                <input style="margin-left:16px;width: 40px;height: 30px" type="button" onclick="getSubByName()" value="查询">
                <input style="margin-left:16px;width: 40px;height: 30px" type="button" onclick="clearSub()" value="重置">
            </div>
            <div class="huiC2">变电站名称</div>
            <div id="subList">
            </div>
        </div>
        <div id="if2">
            <div>
                <input style="margin-left: 2px" class="buttonTwo" type="submit" value="新建" onclick="addEqu()">
                <input class="buttonTwo" type="submit" value="编辑" onclick="updateEqu()">
                <input class="buttonTwo" type="submit" value="删除" onclick="delEqu()">
            </div>
            <div class="huiCAdd">
                <span>设备名称：</span><input id="sb1" type="text">
                <span>设备类型：</span><select id="sb2" class="inputBigger">
                <option value ="0" disabled>请选择</option>
                <option value="放电">放电</option>
                <option value="开关">开关</option>
                <option value="电流互感器">电流互感器</option>
                <option value="变压器">变压器</option>
                <option value="刀闸">刀闸</option>
            </select>
                <span>是否再用：</span><select id="sb3" class="inputBigger">
                <option value ="0" disabled>请选择</option>
                <option value="是">是</option>
                <option value="否">否</option>
            </select>
                <br>
                <span>是否已维修：</span><select id="sb4" class="inputBigger">
                <option value ="0" disabled>请选择</option>
                <option value="是">是</option>
                <option value="否">否</option>
            </select>
                    <input style="width: 130px;height: 40px;margin-left: 30px"  type="submit" value="查询" onclick="getEqu()">
                    <input style="width: 130px;height: 40px;margin-left: 30px" type="button" value="重置" onclick="getEquBySubID(subId)">
            </div>

            <div class="huiC2Add">
                <span>设备名称</span>
                <span>设备类型</span>
                <span>是否再用</span>
                <span>是否已维修</span>
            </div>
            <div id="equList">
            </div>
        </div>
    </div>
</div>
<div id="hideAddPro" style="display: none">
    <div class="hiddenHead">
        <input class="hiddenBtn" type="submit" value="保存" onclick="addPro()">
        <input class="hiddenBtn" type="button" value="取消" onclick="quitHidden()">
    </div>
    <div class="hiddenFoot">
        <span style="margin-right: 7px;">网省名称：</span><input id="proname" class="hiddenInput boxshadow1" type="text"><br>
        <span>*上级单位：</span><input class="hiddenInput boxshadow1"  type="text" value="国家电网" readonly><br>
        <span style="margin-right: 7px">单位描述：</span><input id="proartdesc" class="hiddenInput boxshadow1" type="text"><br>
        <span style="margin-right: 23px">用电量：</span><input id="powercon" class="hiddenInput boxshadow1"  type="text"><br>
        <br>
    </div>
</div>
</body>
</html>
